<h1>
    ztree封装
    test
</h1>

<div ng-controller="DemoCtrl">
    <h4>简单操作的树</h4> mvc
    <button ng-click="ztreeAdd()">增加节点</button>
   <button ng-click="ztreeEdit()">编辑节点</button>
    <div>{{currentSelectedNode.name}}</div>
    <div id="ztreeDemo" dv-ztree nodes-data="nodesData" dv-obj="zTree" dv-click="ztreeClick(id,pId,name)"
         watch="{{change}}" class="ztree">

    </div>

</div>